<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns="http://schemas.vam.gov.hu/ARUREG/ELEKTM/1.0"
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            targetNamespace="http://schemas.vam.gov.hu/ARUREG/ELEKTM/1.0" elementFormDefault="qualified" attributeFormDefault="qualified">
  <xsd:element name="ELEKTM" type="ELEKTM"/>
  <xsd:complexType name="ELEKTM">
    <xsd:sequence>
      <xsd:element name="DatOfPreMES9" type="datOfPreMES9Type"/>
      <xsd:element name="TimOfPreMES10" type="timOfPreMES10Type"/>
      <xsd:element name="MesTypMES20" type="mesTypMES20Type"/>
      <xsd:element name="AREG_SZALL_T" type="AREG_SZALL_T"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="AREG_SZALL_T">
    <xsd:sequence>
      <xsd:element name="Azon" type="azonType"/>
      <xsd:element name="Cdps_id" type="emptyType"/>
      <xsd:element name="Lng" type="lngType"/>
      <xsd:element name="Hivoszam" type="hivoszamType"/>
      <xsd:element name="Nyilvba" type="shortDateType"/>
      <xsd:element name="Tev" type="tevType"/>
      <xsd:element name="Forgjel" type="forgjelType"/>
      <xsd:element name="Eljtip" type="eljType"/>
      <xsd:element name="Vvizsg" type="vvizsgType"/>
      <xsd:element name="Elfogad" type="longDateType"/>
      <xsd:element name="Atenged" type="longDateType"/>
      <xsd:element name="Elintez" type="shortDateType"/>
      <xsd:element name="Engszam" type="engszamType"/>
      <xsd:element name="Indorsz" type="honosType"/>
      <xsd:element name="Rendorsz" type="honosType"/>
      <xsd:element name="Mrendvh" type="emptyType"/>
      <xsd:element name="Krendvh" type="vhkodType"/>
      <xsd:element name="Kelonaplo" type="kelonaploszamType"/>
      <xsd:element name="Osztszint" type="osztszintType"/>
      <xsd:element name="Uskod" type="uskodType"/>
      <xsd:element name="Tkelt" type="shortDateType"/>
      <xsd:element name="Vhkod" type="vhkodType"/>
      <xsd:element name="Mentesites" type="mentesitesType"/>
      <xsd:element name="Megjegyzes" type="megjegyzesType"/>
      <xsd:element name="Osszaru" type="osszaruType"/>
      <xsd:element name="Osszcsom" type="osszcsomType"/>
      <xsd:element name="Osszbrutto" type="osszbruttoType"/>
      <xsd:element name="Osszvamzar" type="osszvamzarType"/>
      <xsd:element name="Elteres" type="elteresType"/>
      <xsd:element name="Kontjelzes" type="kontjelzesType"/>
      <xsd:element name="Bejelenttip" type="bejelenttipType"/>
      <xsd:element name="Rogzvh" type="vhkodType"/>
      <xsd:element maxOccurs="9999" minOccurs="1" name="AREG_SZALLESZK_T"
                   type="AREG_SZALLESZK_T"/>
      <xsd:element maxOccurs="999" minOccurs="0" name="AREG_UGYFEL_T"
                   type="AREG_UGYFEL_T"/>
      <xsd:element maxOccurs="9999" minOccurs="0" name="AREG_ELLERED_T"
                   type="AREG_ELLERED_T"/>
      <xsd:element maxOccurs="999" minOccurs="0" name="AREG_SZLASOR_T"
                   type="AREG_SZLASOR_T"/>
      <xsd:element maxOccurs="9999" minOccurs="0" name="AREG_VAMZAR_T"
                   type="AREG_VAMZAR_T"/>
      <xsd:element maxOccurs="999" minOccurs="0" name="AREG_KATLEPVH_T"
                   type="AREG_KATLEPVH_T"/>
      <xsd:element maxOccurs="999" minOccurs="0" name="AREG_ELOZKIVEZ_T"
                   type="AREG_ELOZKIVEZ_T"/>
      <xsd:element maxOccurs="99" minOccurs="0" name="AREG_BIZT_T"
                   type="AREG_BIZT_T"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="AREG_SZALLESZK_T">
    <xsd:sequence>
      <xsd:element name="Tipus" type="tipusType"/>
      <xsd:element name="Fuvmodtip" type="fuvmodtipType"/>
      <xsd:element name="Fuvmod" type="fuvmodType"/>
      <xsd:element name="Honossag" type="honosType"/>
      <xsd:element name="Szam" type="szamType"/>
      <xsd:element name="Lng" type="lngType"/>
      <xsd:element name="Azonoe" type="azonoeType"/>
      <xsd:element name="Hivoszam2" type="hivoszam2Type"/>
      <xsd:element maxOccurs="99999" minOccurs="0" name="AREG_ARU_T"
                   type="AREG_ARU_T"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="AREG_ARU_T">
    <xsd:sequence>
      <xsd:element name="Tetelsorsz" type="tsorszType"/>
      <xsd:element name="Tarifszam" type="tarifszamType"/>
      <xsd:element name="Brutto" type="bruttoType"/>
      <xsd:element name="Menny" type="mennyType"/>
      <xsd:element name="Mennye" type="mennyeType"/>
      <xsd:element name="Rakszam" type="rakszamType"/>
      <xsd:element name="Megjegyz" type="megjegyzesType"/>
      <xsd:element name="Arumegnev" type="arumegnevType"/>
      <xsd:element name="Erzjel" type="erzjelType"/>
      <xsd:element name="Jovjel" type="jovjelType"/>
      <xsd:element name="Hasznalt" type="hasznaltType"/>
      <xsd:element name="Rendorsz" type="honosType"/>
      <xsd:element name="Indorsz" type="honosType"/>
      <xsd:element name="Netto" type="nettoType"/>
      <xsd:element name="Ertek" type="ertekType"/>
      <xsd:element name="Dnem" type="dnemType"/>
      <xsd:element name="Lng" type="lngType"/>
      <xsd:element maxOccurs="9999" minOccurs="0" name="AREG_ALVAZ_T"
                   type="AREG_ALVAZ_T"/>
      <xsd:element maxOccurs="9999999" minOccurs="0" name="AREG_CSOMAG_T"
                   type="AREG_CSOMAG_T"/>
      <xsd:element maxOccurs="9999" minOccurs="0" name="AREG_KONTENER_T"
                   type="AREG_KONTENER_T"/>
      <xsd:element maxOccurs="999" minOccurs="0" name="AREG_OKMANY_T"
                   type="AREG_OKMANY_T"/>
      <xsd:element maxOccurs="999" minOccurs="0" name="AREG_UGYFEL_T"
                   type="AREG_UGYFEL_T"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="AREG_ALVAZ_T">
    <xsd:sequence>
      <xsd:element name="Alvazszam" type="alvazszamType"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="AREG_CSOMAG_T">
    <xsd:sequence>
      <xsd:element name="Csomszam" type="csomszamType"/>
      <xsd:element name="Csomtip" type="csomtipType"/>
      <xsd:element name="Csomjele" type="csomjeleType"/>
      <xsd:element name="Csomdb" type="csomdbType"/>
      <xsd:element name="Lng" type="lngType"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="AREG_KONTENER_T">
    <xsd:sequence>
      <xsd:element name="Kontszam" type="kontszamType"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="AREG_OKMANY_T">
    <xsd:sequence>
      <xsd:element name="Vonatkozas" type="vonatkozasType"/>
      <xsd:element name="Oktip" type="oktipType"/>
      <xsd:element name="Okhonos" type="honosType"/>
      <xsd:element name="Okszam" type="okszamType"/>
      <xsd:element name="Evege" type="shortDateType"/>
      <xsd:element name="Lng" type="lngType"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="AREG_UGYFEL_T">
    <xsd:sequence>
      <xsd:element name="Vonatkozas" type="vonatkozasType"/>
      <xsd:element name="Ugyfeltip" type="ugyfelType"/>
      <xsd:element name="Vpid" type="vpidType"/>
      <xsd:element name="Honos" type="honosType"/>
      <xsd:element name="Nev" type="nevType"/>
      <xsd:element name="Irszam" type="irszamType"/>
      <xsd:element name="Helyseg" type="helysegType"/>
      <xsd:element name="Cim" type="cimType"/>
      <xsd:element name="Telepsorsz" type="osszcsomType"/>
      <xsd:element name="Tin" type="tinType"/>
      <xsd:element name="Lng" type="lngType"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="AREG_ELLERED_T">
    <xsd:sequence>
      <xsd:element name="Vonatkozas" type="vonatkozasType"/>
      <xsd:element name="Kod" type="kodType"/>
      <xsd:element name="Eredmeny" type="eredmenyType"/>
      <xsd:element name="Datum" type="shortDateType"/>
      <xsd:element name="Stopdat" type="shortDateType"/>
      <xsd:element name="Attrib" type="attribType"/>
      <xsd:element name="Valosertek" type="attribType"/>
      <xsd:element name="Lng" type="lngType"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="AREG_SZLASOR_T">
    <xsd:sequence>
      <xsd:element name="Szlaszam" type="szlaszamType"/>
      <xsd:element name="Szlaosszeg" type="osszcsomType"/>
      <xsd:element name="Dnem" type="dnemType"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="AREG_VAMZAR_T">
    <xsd:sequence>
      <xsd:element name="Vzarjele" type="vzarjeleType"/>
      <xsd:element name="Vzardb" type="vzardbType"/>
      <xsd:element name="Lng" type="lngType"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="AREG_KATLEPVH_T">
    <xsd:sequence>
      <xsd:element name="Katlepvh" type="katlepvhType"/>
      <xsd:element name="Allapot" type="allapotType"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="AREG_ELOZKIVEZ_T">
    <xsd:sequence>
      <xsd:element name="Azon" type="azonType"/>
      <xsd:element name="Eloazonfajta" type="fajtaType"/>
      <xsd:element name="Kivazonfajta" type="fajtaType"/>
      <xsd:element name="Kivdat" type="shortDateType"/>
      <xsd:element name="Megjegyzes" type="megjegyzesType"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="AREG_BIZT_T">
    <xsd:sequence>
      <xsd:element name="Vonatkozas" type="vonatkozasType"/>
      <xsd:element name="Ebirazon" type="ebirazonType"/>
      <xsd:element name="Forg_kod" type="forgkodType"/>
      <xsd:element name="Vpid" type="vpidType"/>
      <xsd:element name="Biztip" type="biztipType"/>
      <xsd:element name="Bizhon" type="honosType"/>
      <xsd:element name="Bizszam" type="bizszamType"/>
      <xsd:element name="Bizosszeg" type="osszcsomType"/>
      <xsd:element name="Engszam" type="engszam19Type"/>
      <xsd:element name="Engtipkod" type="engtipType"/>
      <xsd:element name="Jogcim" type="jogcimType"/>
      <xsd:element name="Cdpsid" type="cdpsidType"/>
      <xsd:element name="Hatszam" type="hatszamType"/>
      <xsd:element name="Allapot" type="biztallapotType"/>
      <xsd:element name="Honos" type="honosType"/>
      <xsd:element name="Nev" type="biztnevType"/>
      <xsd:element name="Irszam" type="biztirszamType"/>
      <xsd:element name="Helyseg" type="biztnevType"/>
      <xsd:element name="Cim" type="biztnevType"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:simpleType name="lngType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="2"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="shortDateType">
    <xsd:union memberTypes="emptyType HUDate_8"/>
  </xsd:simpleType>
  <xsd:simpleType name="longDateType">
    <xsd:union memberTypes="emptyType HUDate_12"/>
  </xsd:simpleType>
  <xsd:simpleType name="fajtaType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="15"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="allapotType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="15"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="azonType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="1"/>
      <xsd:maxLength value="21"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="katlepvhType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="1"/>
      <xsd:maxLength value="8"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="vzarjeleType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="1"/>
      <xsd:maxLength value="20"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="vzardbType">
    <xsd:union memberTypes="emptyType">
      <xsd:simpleType>
        <xsd:restriction base="xsd:integer">
          <xsd:minInclusive value="0"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:union>
  </xsd:simpleType>
  <xsd:simpleType name="dnemType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="3"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="szlaszamType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="1"/>
      <xsd:maxLength value="50"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="megjegyzesType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="4000"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="vonatkozasType">
    <xsd:restriction base="xsd:string">
      <xsd:minLength value="1"/>
      <xsd:maxLength value="15"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="kodType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="2"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="eredmenyType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="140"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="attribType">
    <xsd:union memberTypes="emptyType">
      <xsd:simpleType>
        <xsd:restriction base="xsd:integer">
          <xsd:fractionDigits value="0"/>
          <xsd:totalDigits value="5"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:union>
  </xsd:simpleType>
  <xsd:simpleType name="ugyfelType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="1"/>
      <xsd:maxLength value="15"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="vpidType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="12"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="honosType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="2"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="nevType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="35"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="irszamType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="9"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="helysegType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="35"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="cimType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="35"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="tinType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="17"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="oktipType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="1"/>
      <xsd:maxLength value="6"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="okszamType">
    <xsd:restriction base="xsd:token">
      <xsd:pattern value="[^\sa-zÁÍŰŐÜÖÚÓÉáíűőüöúóé]{0,27}"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="kontszamType">
    <xsd:restriction base="xsd:token">
      <xsd:pattern value="[A-Z0-9]{1,17}"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="csomszamType">
    <xsd:union memberTypes="emptyType">
      <xsd:simpleType>
        <xsd:restriction base="xsd:integer">
          <xsd:fractionDigits value="0"/>
          <xsd:totalDigits value="5"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:union>
  </xsd:simpleType>
  <xsd:simpleType name="csomtipType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="1"/>
      <xsd:maxLength value="3"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="csomjeleType">
    <xsd:restriction base="xsd:token">
      <xsd:pattern value="[^\sa-zÁÍŰŐÜÖÚÓÉáíűőüöúóé]{0,42}"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="csomdbType">
    <xsd:union memberTypes="emptyType">
      <xsd:simpleType>
        <xsd:restriction base="xsd:integer">
          <xsd:fractionDigits value="0"/>
          <xsd:totalDigits value="5"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:union>
  </xsd:simpleType>
  <xsd:simpleType name="alvazszamType">
    <xsd:restriction base="xsd:token">
      <xsd:pattern value="[A-Z0-9]{1,17}"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="ertekType">
    <xsd:union memberTypes="emptyType">
      <xsd:simpleType>
        <xsd:restriction base="xsd:decimal">
          <xsd:fractionDigits value="3"/>
          <xsd:maxInclusive value="99999999999.999"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:union>
  </xsd:simpleType>
  <xsd:simpleType name="nettoType">
    <xsd:union memberTypes="emptyType">
      <xsd:simpleType>
        <xsd:restriction base="xsd:decimal">
          <xsd:fractionDigits value="3"/>
          <xsd:minInclusive value="0"/>
          <xsd:maxInclusive value="99999999999.999"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:union>
  </xsd:simpleType>
  <xsd:simpleType name="bruttoType">
    <xsd:union memberTypes="emptyType">
      <xsd:simpleType>
        <xsd:restriction base="xsd:decimal">
          <xsd:fractionDigits value="3"/>
          <xsd:minInclusive value="0"/>
          <xsd:maxInclusive value="99999999999.999"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:union>
  </xsd:simpleType>
  <xsd:simpleType name="hasznaltType">
    <xsd:union memberTypes="emptyType">
      <xsd:simpleType>
        <xsd:restriction base="xsd:int">
          <xsd:enumeration value="0"/>
          <xsd:enumeration value="1"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:union>
  </xsd:simpleType>
  <xsd:simpleType name="jovjelType">
    <xsd:union memberTypes="emptyType">
      <xsd:simpleType>
        <xsd:restriction base="xsd:int">
          <xsd:enumeration value="0"/>
          <xsd:enumeration value="1"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:union>
  </xsd:simpleType>
  <xsd:simpleType name="erzjelType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="15"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="arumegnevType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="280"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="rakszamType">
    <xsd:restriction base="xsd:token">
      <xsd:pattern value="[A-Z0-9]{0,15}"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="mennyeType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="15"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="tarifszamType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="15"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="tsorszType">
    <xsd:restriction base="xsd:integer">
      <xsd:minInclusive value="0"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="mennyType">
    <xsd:union memberTypes="emptyType">
      <xsd:simpleType>
        <xsd:restriction base="xsd:decimal">
          <xsd:fractionDigits value="3"/>
          <xsd:minInclusive value="0"/>
          <xsd:maxInclusive value="99999999999.999"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:union>
  </xsd:simpleType>
  <xsd:simpleType name="tipusType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="1"/>
      <xsd:maxLength value="15"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="fuvmodtipType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="15"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="fuvmodType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="15"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="szamType">
    <xsd:restriction base="xsd:token">
      <xsd:pattern value="[A-Z0-9-]{0,27}"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="datOfPreMES9Type">
    <xsd:list itemType="Date_6_8"/>
  </xsd:simpleType>
  <xsd:simpleType name="timOfPreMES10Type">
    <xsd:restriction base="Time"/>
  </xsd:simpleType>
  <xsd:simpleType name="mesTypMES20Type">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="ELOBEJ"/>
      <xsd:enumeration value="ELEKTR"/>
      <xsd:enumeration value="ELOROG"/>
      <xsd:enumeration value="ELOMIN"/>
      <xsd:enumeration value="ELEKTM"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="cdpsidType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="20"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="hivoszamType">
    <xsd:restriction base="xsd:token">
      <xsd:pattern value="[A-Z0-9]{1,22}"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="hivoszam2Type">
    <xsd:restriction base="xsd:token">
      <xsd:pattern value="[A-Z0-9]{0,22}"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="tevType">
    <xsd:restriction base="xsd:token">
      <xsd:pattern value="[^\s34]{1}"/>
      <xsd:pattern value="[^\s]{2,15}"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="forgjelType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="15"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="eljType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="7"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="vvizsgType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="20"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="engszamType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="20"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="vhkodType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="8"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="kelonaploszamType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="21"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="osztszintType">
    <xsd:union memberTypes="emptyType">
      <xsd:simpleType>
        <xsd:restriction base="xsd:integer">
          <xsd:maxInclusive value="0"/>
          <xsd:minInclusive value="0"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:union>
  </xsd:simpleType>
  <xsd:simpleType name="uskodType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="5"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="mentesitesType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="15"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="osszaruType">
    <xsd:union memberTypes="emptyType">
      <xsd:simpleType>
        <xsd:restriction base="xsd:integer">
          <xsd:fractionDigits value="0"/>
          <xsd:totalDigits value="5"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:union>
  </xsd:simpleType>
  <xsd:simpleType name="osszcsomType">
    <xsd:union memberTypes="emptyType">
      <xsd:simpleType>
        <xsd:restriction base="xsd:integer">
          <xsd:fractionDigits value="0"/>
          <xsd:totalDigits value="7"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:union>
  </xsd:simpleType>
  <xsd:simpleType name="osszbruttoType">
    <xsd:union memberTypes="emptyType">
      <xsd:simpleType>
        <xsd:restriction base="xsd:decimal">
          <xsd:fractionDigits value="3"/>
          <xsd:maxInclusive value="99999999999999999.999"/>
          <xsd:minInclusive value="0"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:union>
  </xsd:simpleType>
  <xsd:simpleType name="osszvamzarType">
    <xsd:union memberTypes="emptyType">
      <xsd:simpleType>
        <xsd:restriction base="xsd:integer">
          <xsd:fractionDigits value="0"/>
          <xsd:totalDigits value="4"/>
          <xsd:minInclusive value="0"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:union>
  </xsd:simpleType>
  <xsd:simpleType name="elteresType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="15"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="kontjelzesType">
    <xsd:union memberTypes="emptyType">
      <xsd:simpleType>
        <xsd:restriction base="xsd:int">
          <xsd:enumeration value="0"/>
          <xsd:enumeration value="1"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:union>
  </xsd:simpleType>
  <xsd:simpleType name="bejelenttipType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="15"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="azonoeType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="0"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="ebirazonType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="0"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="biztipType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="15"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="bizszamType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="50"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="engszam19Type">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="19"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="engtipType">
    <xsd:union memberTypes="emptyType">
      <xsd:simpleType>
        <xsd:restriction base="xsd:integer">
          <xsd:fractionDigits value="0"/>
          <xsd:totalDigits value="5"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:union>
  </xsd:simpleType>
  <xsd:simpleType name="jogcimType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="15"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="hatszamType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="14"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="biztallapotType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="0"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="biztnevType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="256"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="biztirszamType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="15"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="forgkodType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="1"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="emptyType">
    <xsd:restriction base="xsd:token">
      <xsd:minLength value="0"/>
      <xsd:maxLength value="0"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="Date_8">
    <xsd:restriction base="xsd:nonNegativeInteger">
      <xsd:pattern value="[1-2][0-9]{3}[0][1-9][0][1-9]"/>
      <xsd:pattern value="[1-2][0-9]{3}[0][1-9][1|2][0-9]"/>
      <xsd:pattern value="[1-2][0-9]{3}[0][1-9][3][0|1]"/>
      <xsd:pattern value="[1-2][0-9]{3}[1][0-2][0][1-9]"/>
      <xsd:pattern value="[1-2][0-9]{3}[1][0-2][1|2][0-9]"/>
      <xsd:pattern value="[1-2][0-9]{3}[1][0-2][3][0|1]"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="Date_6_8">
    <xsd:restriction base="xsd:nonNegativeInteger">
      <!-- 8 digits -->
      <xsd:pattern value="[1-2][0-9]{3}[0][1-9][0][1-9]"/>
      <xsd:pattern value="[1-2][0-9]{3}[0][1-9][1|2][0-9]"/>
      <xsd:pattern value="[1-2][0-9]{3}[0][1-9][3][0|1]"/>
      <xsd:pattern value="[1-2][0-9]{3}[1][0-2][0][1-9]"/>
      <xsd:pattern value="[1-2][0-9]{3}[1][0-2][1|2][0-9]"/>
      <xsd:pattern value="[1-2][0-9]{3}[1][0-2][3][0|1]"/>
      <!-- 6 digits -->
      <xsd:pattern value="[0-9]{2}[0][1-9][0][1-9]"/>
      <xsd:pattern value="[0-9]{2}[0][1-9][1|2][0-9]"/>
      <xsd:pattern value="[0-9]{2}[0][1-9][3][0|1]"/>
      <xsd:pattern value="[0-9]{2}[1][0-2][0][1-9]"/>
      <xsd:pattern value="[0-9]{2}[1][0-2][1|2][0-9]"/>
      <xsd:pattern value="[0-9]{2}[1][0-2][3][0|1]"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="Time">
    <xsd:restriction base="xsd:nonNegativeInteger">
      <xsd:totalDigits value="4"/>
      <xsd:pattern value="[0-1]{1}[0-9]{1}[0-5]{1}[0-9]{1}"/>
      <xsd:pattern value="[2]{1}[0-3]{1}[0-5]{1}[0-9]{1}"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="HUDate_8">
    <xsd:restriction base="xsd:token">
      <xsd:pattern value="[1-2][0-9]{3}.[0][1-9].[0][1-9]"/>
      <xsd:pattern value="[1-2][0-9]{3}.[0][1-9].[1|2][0-9]"/>
      <xsd:pattern value="[1-2][0-9]{3}.[0][1-9].[3][0|1]"/>
      <xsd:pattern value="[1-2][0-9]{3}.[1][0-2].[0][1-9]"/>
      <xsd:pattern value="[1-2][0-9]{3}.[1][0-2].[1|2][0-9]"/>
      <xsd:pattern value="[1-2][0-9]{3}.[1][0-2].[3][0|1]"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="HUDate_12">
    <xsd:restriction base="xsd:token">
      <!-- 8 digits -->
      <xsd:pattern value="[1-2][0-9]{3}.[0][1-9].[0][1-9] [0-1]{1}[0-9]{1}:[0-5]{1}[0-9]{1}"/>
      <xsd:pattern value="[1-2][0-9]{3}.[0][1-9].[0][1-9] [2]{1}[0-3]{1}:[0-5]{1}[0-9]{1}"/>
      <xsd:pattern value="[1-2][0-9]{3}.[0][1-9].[1|2][0-9] [0-1]{1}[0-9]{1}:[0-5]{1}[0-9]{1}"/>
      <xsd:pattern value="[1-2][0-9]{3}.[0][1-9].[1|2][0-9] [2]{1}[0-3]{1}:[0-5]{1}[0-9]{1}"/>
      <xsd:pattern value="[1-2][0-9]{3}.[0][1-9].[3][0|1] [0-1]{1}[0-9]{1}:[0-5]{1}[0-9]{1}"/>
      <xsd:pattern value="[1-2][0-9]{3}.[0][1-9].[3][0|1] [2]{1}[0-3]{1}:[0-5]{1}[0-9]{1}"/>
      <xsd:pattern value="[1-2][0-9]{3}.[1][0-2].[0][1-9] [0-1]{1}[0-9]{1}:[0-5]{1}[0-9]{1}"/>
      <xsd:pattern value="[1-2][0-9]{3}.[1][0-2].[0][1-9] [2]{1}[0-3]{1}:[0-5]{1}[0-9]{1}"/>
      <xsd:pattern value="[1-2][0-9]{3}.[1][0-2].[1|2][0-9] [0-1]{1}[0-9]{1}:[0-5]{1}[0-9]{1}"/>
      <xsd:pattern value="[1-2][0-9]{3}.[1][0-2].[1|2][0-9] [2]{1}[0-3]{1}:[0-5]{1}[0-9]{1}"/>
      <xsd:pattern value="[1-2][0-9]{3}.[1][0-2].[3][0|1] [0-1]{1}[0-9]{1}:[0-5]{1}[0-9]{1}"/>
      <xsd:pattern value="[1-2][0-9]{3}.[1][0-2].[3][0|1] [2]{1}[0-3]{1}:[0-5]{1}[0-9]{1}"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:schema>